syms x y z
eq1=(18*(2*x - 30))/(5*((y - z)^2 + (x - 15)^2)^(1/2)) + (36*x)/(5*((y - 5)^2 + x^2)^(1/2));
eq2=(18*(2*y - 10))/(5*((y - 5)^2 + x^2)^(1/2)) + (18*(2*y - 2*z))/(5*((y - z)^2 + (x - 15)^2)^(1/2)) + 36/5;
eq3=(141*(2*z - 16))/(10*((z - 8)^2 + 25)^(1/2)) - (18*(2*y - 2*z))/(5*((y - z)^2 + (x - 15)^2)^(1/2));
[x,y,z]=solve(eq1,eq2,eq3,'x','y','z');
x=subs(x),y=subs(y),z=subs(z)
